package com.badcat.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author ：badcat
 * @date ：Created in 2022/6/25 16:33
 * @description ：
 */
@Controller
@RequestMapping("/")
public class IndexController {
    @GetMapping("/index")
    public String index(){
        return "index";
    }

    @GetMapping("/uploadSimple")
    public String uploadSimple(){
        return "uploadSimple";
    }

    @GetMapping("/uploadFormData")
    public String uploadFormData(){
        return "uploadFormData";
    }

    @GetMapping("/uploadFormDataProgress")
    public String uploadFormDataProgress(){
        return "uploadFormDataProgress";
    }

    @GetMapping("/uploadFormDataPiece")
    public String uploadFormDataPiece(){
        return "uploadFormDataPiece";
    }

    @GetMapping("/uploadFormDataProgressPiece")
    public String uploadFormDataProgressPiece(){
        return "uploadFormDataProgressPiece";
    }
}
